package com.TPNexus.model;

import java.util.Date;

import javax.enterprise.context.SessionScoped;
import java.io.Serializable;

@SessionScoped
public class CommentDetail implements Serializable {

	private static final long serialVersionUID = -1788029673987630910L;
	private long commentdetailid;
	private User poster;
	private String content;
	private Date submitdate;

	public long getCommentdetailid() {
		return commentdetailid;
	}

	public void setCommentdetailid(long commentdetailid) {
		this.commentdetailid = commentdetailid;
	}

	public User getPoster() {
		return poster;
	}

	public void setPoster(User poster) {
		this.poster = poster;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getSubmitdate() {
		return submitdate;
	}

	public void setSubmitdate(Date submitdate) {
		this.submitdate = submitdate;
	}

	public CommentDetail(long commentdetailid, User poster, String content,
			Date submitdate) {
		super();
		this.commentdetailid = commentdetailid;
		this.poster = poster;
		this.content = content;
		this.submitdate = submitdate;
	}

	public CommentDetail() {

	}
}
